<!--%import("filter/insert_springnote.xml")-->
<!--%import("js/springnote_admin.js")-->

<!--#include("header.html")-->

<form action="./" method="post" onsubmit="return procFilter(this, insert_springnote)" enctype="multipart/form-data">
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module_srl" value="{$module_srl}" />
<input type="hidden" name="use_category" value="N" />

    <table cellspacing="0" class="rowTable">

    <!--@if($logged_info->is_admin!='Y')-->
    <input type="hidden" name="mid" value="{$module_info->mid}" />
    <!--@else-->
    <tr class="row2">
        <th scope="row"><div>{$lang->mid}</div></th>
        <td class="wide">
            <input type="text" name="mid" value="{$module_info->mid}" class="inputTypeText w200" />
            <p>{$lang->about_mid}</p>
        </td>
    </tr>
    <!--@end-->
    <tr class="row2">
        <th scope="row"><div>{$lang->module_category}</div></th>
        <td>
            <select name="module_category_srl">
                <option value="0">{$lang->notuse}</option>
                <!--@foreach($module_category as $key => $val)-->
                <option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_module_category}</p>
        </td>
    </tr>

    <tr>
        <th scope="row"><div>{$lang->springnote_openid}</div></th>
        <td>
            http://<input type="text" name="springnote_openid" value="{htmlspecialchars($module_info->openid)}"  class="inputTypeText w300" />/
            <p>{$lang->about_springnote_openid}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->springnote_userkey}</div></th>
        <td>
            <input type="text" name="springnote_userkey" value="{htmlspecialchars($module_info->userkey)}"  class="inputTypeText w300" />
            <p>{$lang->about_springnote_userkey}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->springnote_pageid}</div></th>
        <td>
            <input type="text" name="springnote_pageid" value="{htmlspecialchars($module_info->pageid)}"  class="inputTypeText w300" />
            <p>{$lang->about_springnote_pageid}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->springnote_pageid_setup}</div></th>
        <td>
            <p><input type="radio" name="springnote_pageid_option" value="only" <!--@if($module_info->pageid_option!='list')-->checked="checked"<!--@end--> id="springnote_pageid_option_only" /> <label for="springnote_pageid_option_only">{$lang->springnote_pageid_option_only}</label></p>
            <p><input type="radio" name="springnote_pageid_option" value="list" <!--@if($module_info->pageid_option=='list')-->checked="checked"<!--@end--> id="springnote_pageid_option_list" /> <label for="springnote_pageid_option_list">{$lang->springnote_pageid_option_list}</label></p>
            <p>{$lang->about_springnote_pageid_setup}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->springnote_domain}</div></th>
        <td>
            <input type="text" name="springnote_domain" value="{htmlspecialchars($module_info->domain)}"  class="inputTypeText w300" />
            <p>{$lang->about_springnote_domain}</p>
        </td>
    </tr>

    <tr class="row2">
        <th scope="row"><div>{$lang->browser_title}</div></th>
        <td>
            <input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}"  class="inputTypeText w400" id="browser_title"/>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->about_browser_title}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->layout}</div></th>
        <td>
            <select name="layout_srl">
            <option value="0">{$lang->notuse}</option>
            <!--@foreach($layout_list as $key => $val)-->
            <option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
            <!--@end-->
            </select>
            <p>{$lang->about_layout}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->skin}</div></th>
        <td>
            <select name="skin">
                <!--@foreach($skin_list as $key=>$val)-->
                <option value="{$key}" <!--@if($module_info->skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_skin}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->description}</div></th>
        <td>
            <textarea name="description" class="inputTypeTextArea w400">{htmlspecialchars($module_info->description)}</textarea>
            <p>{$lang->about_description}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->header_text}</div></th>
        <td>
            <textarea name="header_text" class="inputTypeTextArea w400">{htmlspecialchars($module_info->header_text)}</textarea>
            <p>{$lang->about_header_text}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->footer_text}</div></th>
        <td>
            <textarea name="footer_text" class="inputTypeTextArea w400">{htmlspecialchars($module_info->footer_text)}</textarea>
            <p>{$lang->about_footer_text}</p>
        </td>
    </tr>
    <tr>
        <th colspan="2" class="button">
            <span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
        </th>
    </tr>
    </table>

</form>
